package com.ht.web360.base.enums;

import lombok.Getter;
import org.apache.http.entity.ContentType;

@Getter
public enum ObjType {
    RectangularJpeg("等距柱状投影全景图JPG", ContentType.IMAGE_JPEG.getMimeType()),
    RectangularPng("等距柱状投影全景图PNG", ContentType.IMAGE_PNG.getMimeType()),
    ImageJpeg("JPG图片", ContentType.IMAGE_JPEG.getMimeType()),
    ImagePng("PNG图片", ContentType.IMAGE_PNG.getMimeType()),
    Text("文本", ContentType.TEXT_PLAIN.getMimeType()),
    XML("标记文本", ContentType.TEXT_XML.getMimeType()),
    JSON("JSON文本", ContentType.APPLICATION_JSON.getMimeType()),
    ;
    private final String description;
    private final String value;

    ObjType(String description, String value) {
        this.value = value;
        this.description = description;
    }
}
